#ifndef CIMAGE_H_
#define CIMAGE_H_

#include "cdefaultfocusdynamicguiobject.h"
#include "cdefaultkeydowndynamicguiobject.h"
#include "cdefaultonadddynamicguiobject.h"

/**
 * CImage - Class representing image label
 * @author Marek Rost
 * @date 26.04.2009
 */
class CImage : public CDefaultFocusDynamicGuiObject,
  public CDefaultOnAddDynamicGuiObject, public CDefaultKeyDownDynamicGuiObject {
public:
  CImage(int imgId = -1);
  int getImgId() const;
  void setImgId(int imgId);
  static string getClassName() {
    return "CImage";
  }
protected:
  int imgId;
  void drawSelf(CGuiRenderer* rendererPtr);
};

#endif
